import { defineConfig } from 'vite'
import vue from '@vitejs/plugin-vue'
import path from 'path'
function resolvePath(src) {
  return path.resolve(__dirname, src)
}

export default defineConfig({
  plugins: [vue()],
  resolve: {
    alias: {
      "@": resolvePath("src"),
    },
  },
  server: {
    open: true,
    port: 8888,
    host: "0.0.0.0",
  },
})
